
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <script type="text/javascript">
        function exitSystem(){
            window.parent.location.href="<%=basePath%>user/out.do";
        }
        var testArray =[
            {toTask :"作业1",
                guanlian:[
                    {toOpera:"操作1",fromOpera:"操作1",fromTask:"作业2"},
                    {toOpera:"操作1",fromOpera:"操作1",fromTask:"作业3"}
                ]
            }
        ];
    </script>
</head>
<body>
<%--top<a  href="javascript:void(0);" onclick="exitSystem()">退出</a>--%>
<%=session.getAttribute("userName")%>在线<a  href="javascript:exitSystem();">退出</a>
</body>
</html>
